﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Utilities.OpenXml
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable]
	public class ChartDefinition
	{
		private string _ChartName;
		/// <summary></summary>
		public string ChartName
		{
			get
			{
				return this._ChartName;
			}
			set
			{
				this._ChartName = value;
			}
		}

		private ExcelChartType _ChartType;
		/// <summary></summary>
		public ExcelChartType ChartType
		{
			get
			{
				return this._ChartType;
			}
			set
			{
				this._ChartType = value;
			}
		}

		private string _SheetName;
		/// <summary></summary>
		public string SheetName
		{
			get
			{
				return this._SheetName;
			}
			set
			{
				this._SheetName = value;
			}
		}

		private string _Title;
		/// <summary></summary>
		public string Title
		{
			get
			{
				return this._Title;
			}
			set
			{
				this._Title = value;
			}
		}

		private string _ChartDataTable;
		/// <summary></summary>
		public string ChartDataTable
		{
			get
			{
				return this._ChartDataTable;
			}
			set
			{
				this._ChartDataTable = value;
			}
		}

		private string _CategoryColumnName;
		/// <summary></summary>
		public string CategoryColumnName
		{
			get
			{
				return this._CategoryColumnName;
			}
			set
			{
				this._CategoryColumnName = value;
			}
		}

		private string _CategoryFormular;
		/// <summary></summary>
		public string CategoryFormular
		{
			get
			{
				return this._CategoryFormular;
			}
			set
			{
				this._CategoryFormular = value;
			}
		}

		private List<string> _SeriesColumns;
		/// <summary></summary>
		public List<string> SeriesColumns
		{
			get
			{
				return this._SeriesColumns;
			}
			set
			{
				this._SeriesColumns = value;
			}
		}

		private Dictionary<string,string> _SeriesDataFormulars;
		/// <summary></summary>
		public Dictionary<string,string> SeriesDataFormulars
		{
			get
			{
				return this._SeriesDataFormulars;
			}
			set
			{
				this._SeriesDataFormulars = value;
			}
		}

        private bool _ApplyStyle;
        /// <summary></summary>
        public bool ApplyStyle
        {
            get
            {
                return this._ApplyStyle;
            }
            set
            {
                this._ApplyStyle = value;
            }
        }
	}
}
